package com.hdd.fmh.module.sys.service;

import com.github.pagehelper.PageInfo;
import com.hdd.fmh.common.response.ResultVo;
import com.hdd.fmh.module.sys.bean.User;
import com.hdd.fmh.module.sys.controller.dto.UserDto;

public interface UserService {

    ResultVo<User> doLogin(String username, String passwrod) throws Exception;

    void save(User user) throws Exception;

    ResultVo<PageInfo<User>> page(UserDto dto);

    ResultVo<?> changPassWord(String uid, String oldPass);
}
